<?php
class One{
    function onenum($n,$m){
        for ($i=1;$i<=$n;$i++){
            $aa[] = $i;
            $bb = array_splice($aa,$m+1);
        }
        return $bb;

    }
}
$data = new One;
print_r($data->onenum(13,2));
?>